package com.devunion.salon.client;

import com.devunion.salon.client.app.mvc.SalonEvents;
import com.devunion.salon.client.app.mvc.controller.AppController;
import com.extjs.gxt.ui.client.mvc.Dispatcher;
import com.google.gwt.core.client.EntryPoint;


/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Application implements EntryPoint {
    /**
     * This is the entry point method.
     */
    public void onModuleLoad() {
        //RootPanel.get().add(new AdminPanel());
        Dispatcher.get().addController(new AppController());
        Dispatcher.forwardEvent(SalonEvents.APP_INIT);
    }
}
